.container {
  padding: 20px;
}

.search-area {
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box input,
.search-box select {
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
}

.btn-primary {
  padding: 8px 16px;
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.script-summary {
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.empty-placeholder {
  text-align: center;
}

.empty-placeholder img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.modal {
  display: none; /* 隐藏弹窗 */
  position: fixed; /* 固定定位 */
  z-index: 1; /* 确保在最上层 */
  left: 0;
  top: 0;
  width: 100%; /* 全宽 */
  height: 100%; /* 全高 */
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
}

.modal-content {
  background-color: #fefefe; /* 弹窗背景 */
  margin: 10% auto; /* 上下居中，左右自动 */
  padding: 20px;
  border: 1px solid #888; /* 边框 */
  width: 95%; /* 增加宽度 */
  max-width: 900px; /* 增加最大宽度 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 阴影效果 */
  font-size: 16px; /* 增加字体大小 */
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-btn {
  font-size: 40px;
  cursor: pointer;
  color: #999;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.input-group input[type="radio"] {
  margin-right: 8px;
}

.input-field {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
}

.info-box {
  background: #f0f7ff;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  color: #333;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
}

.form-group label .required {
  color: #ff4d4f;
  margin-right: 4px;
}

.btn {
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #5048e5;
  color: white;
}

.btn-default {
  background: white;
  border: 1px solid #ddd;
  color: #666;
}

.empty-state {
  text-align: center;
  padding: 40px 0;
  color: #999;
}

.empty-state img {
  width: 60px;
  margin-bottom: 8px;
}

.source-selection input,
.info-box input,
#scriptName,
#outputDirectory {
  width: calc(100% - 20px); /* 输入框宽度 */
  padding: 12px; /* 增加内边距 */
  margin-top: 5px; /* 增加顶部间距 */
  border: 1px solid #d9d9d9;
  border-radius: 4px;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px; /* 增加按钮内边距 */
  font-size: 16px; /* 增加按钮字体大小 */
}

/* 隐藏原生单选框 */
.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio {
  margin-right: 10px;
}

/* 自定义单选框外观 */
.custom-radio .radio-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #999;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transition: all 0.3s ease;
  top: -3px;
}

/* 选中状态样式 */
.custom-radio input:checked ~ .radio-icon {
  border-color: #5048e5;
  background-color: #5048e5;
  box-shadow: inset 0 0 0 3px white; /* 内圆效果 */
}

/* 悬浮交互效果 */
.custom-radio:hover .radio-icon {
  border-color: #555;
}

/* 禁用状态 */
.custom-radio input:disabled ~ .radio-icon {
  background-color: #eee;
  border-color: #ccc;
}
